package frank.zou.study.unitils.sample;

import java.util.List;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class HibernatePhonebook extends HibernateDaoSupport implements Phonebook {

	public List<Person> searchByLastName(String lastName) {
		return (List<Person>) getHibernateTemplate().find("from Person where lastName=?", lastName);
	}
}
